activity-log
This command configures event types performed in the management interface (Web and CLI) to report in syslog messages or in an SNMP trap.
Syntax
(config-troubleshoot)# activity-log (activity-log)#
Command |
Description |
---|---|
action-execute {on|off} |
Enables logging notifications on actions executed events. |
cli-commands-log {on|off} |
Enables logging of entered CLI commands. |
config-changes {on|off} |
Enables logging changes in parameter values. |
device-reset {on|off} |
Enables logging notifications on device-restart events. |
files-loading {on|off} |
Enables logging notifications on auxiliary-files-loading events. |
flash-burning {on|off} |
Enables logging notifications on flash-memory-burning events. |
incremental-ini-log {on|off} |
Enables logging of changes in parameter values due to a loaded incremental ini file. |
login-and-logout {on|off} |
Enables logging notifications on login and logout events. |
sensitive-config-changes {on|off} |
Enables logging notifications on sensitive-parameters-value-change events. |
software-update {on|off} |
Enables logging notifications on device-software-update events. |
unauthorized-access {on|off} |
Enables logging notifications on non-authorized-access events. |
Command Mode
Privileged User
Related Command
■ | activity-trap: enables an SNMP trap to report Web user activities |
■ | show activity-log: displays logged activities |
■ | max-ini-activity-logs: Defines the maximum lines in the incremental ini file to log when the command is set to incremental-ini-log. |
Example
This example enables reporting of login and logout attempts:
(config-troubleshoot)# activity-log (activity-log)# login-and-logout on